list01=[4,49,22,6,87,93,45]
new_list=[]
for i in list01:
    if i>10:
        new_list.append(i)
print(new_list)

# 列表推导式
new_list=[i for i in list01 if i>10]